﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;

namespace MessengerBot
{
    /// <summary>
    /// This interface must be implemented by classes that output log
    /// messages to a destination.
    /// </summary>
    public interface ILogger
    {
        /// <summary>
        /// Logs a single message to the log destination.
        /// </summary>
        /// <param name="level">
        /// The level of the message, used for filtering.
        /// </param>
        /// <param name="message">
        /// The message to log.
        /// </param>
        void Log(LogLevel level, string message);
    }
}